package com.glory.brepda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: EqpInfoEntity
 * Author: XJH
 * Date: 2020/6/18 9:00
 * Description:
 * History:
 */
public class EqpInfoEntity implements Serializable {

    private EqpInfo EQUIPMENT;

    private List<TestEqpEntity> LISTEQUIPMENT;

    public EqpInfo getEQUIPMENT() {
        return EQUIPMENT;
    }

    public void setEQUIPMENT(EqpInfo EQUIPMENT) {
        this.EQUIPMENT = EQUIPMENT;
    }

    public List<TestEqpEntity> getLISTEQUIPMENT() {
        if (LISTEQUIPMENT == null) {
            return new ArrayList<>();
        }
        return LISTEQUIPMENT;
    }

    public void setLISTEQUIPMENT(List<TestEqpEntity> LISTEQUIPMENT) {
        this.LISTEQUIPMENT = LISTEQUIPMENT;
    }

    public class EqpInfo implements Serializable{
        private String OBJECTRRN;
        private String EQUIPMENTID;
        private String DESCRIPTION;
        private String LOCATION;
        private String DEPARTMENT;
        private String EQPTYPE;
        private String POSITIONSETRRN;
        private String STATUSMODELRRN;
        private String MODEL;
        private String COMCLASS;
        private String STATE;
        private String SUBSTATE;
        private String HOLDSTATE;
        private String ISBATCH;
        private String ISMULTIPART;
        private String STYLE;
        private String CREATED;
        private String UPDATED;
        private String UPDATEDBY;
        private String ISAVAILABLE;
        private String ISBATCHLOTSIZECONTROL;

        public String getOBJECTRRN() {
            return OBJECTRRN == null ? "" : OBJECTRRN;
        }

        public void setOBJECTRRN(String OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }

        public String getLOCATION() {
            return LOCATION == null ? "" : LOCATION;
        }

        public void setLOCATION(String LOCATION) {
            this.LOCATION = LOCATION;
        }

        public String getDEPARTMENT() {
            return DEPARTMENT == null ? "" : DEPARTMENT;
        }

        public void setDEPARTMENT(String DEPARTMENT) {
            this.DEPARTMENT = DEPARTMENT;
        }

        public String getEQPTYPE() {
            return EQPTYPE == null ? "" : EQPTYPE;
        }

        public void setEQPTYPE(String EQPTYPE) {
            this.EQPTYPE = EQPTYPE;
        }

        public String getPOSITIONSETRRN() {
            return POSITIONSETRRN == null ? "" : POSITIONSETRRN;
        }

        public void setPOSITIONSETRRN(String POSITIONSETRRN) {
            this.POSITIONSETRRN = POSITIONSETRRN;
        }

        public String getSTATUSMODELRRN() {
            return STATUSMODELRRN == null ? "" : STATUSMODELRRN;
        }

        public void setSTATUSMODELRRN(String STATUSMODELRRN) {
            this.STATUSMODELRRN = STATUSMODELRRN;
        }

        public String getMODEL() {
            return MODEL == null ? "" : MODEL;
        }

        public void setMODEL(String MODEL) {
            this.MODEL = MODEL;
        }

        public String getCOMCLASS() {
            return COMCLASS == null ? "" : COMCLASS;
        }

        public void setCOMCLASS(String COMCLASS) {
            this.COMCLASS = COMCLASS;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getSUBSTATE() {
            return SUBSTATE == null ? "" : SUBSTATE;
        }

        public void setSUBSTATE(String SUBSTATE) {
            this.SUBSTATE = SUBSTATE;
        }

        public String getHOLDSTATE() {
            return HOLDSTATE == null ? "" : HOLDSTATE;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public String getISBATCH() {
            return ISBATCH == null ? "" : ISBATCH;
        }

        public void setISBATCH(String ISBATCH) {
            this.ISBATCH = ISBATCH;
        }

        public String getISMULTIPART() {
            return ISMULTIPART == null ? "" : ISMULTIPART;
        }

        public void setISMULTIPART(String ISMULTIPART) {
            this.ISMULTIPART = ISMULTIPART;
        }

        public String getSTYLE() {
            return STYLE == null ? "" : STYLE;
        }

        public void setSTYLE(String STYLE) {
            this.STYLE = STYLE;
        }

        public String getCREATED() {
            return CREATED == null ? "" : CREATED;
        }

        public void setCREATED(String CREATED) {
            this.CREATED = CREATED;
        }

        public String getUPDATED() {
            return UPDATED == null ? "" : UPDATED;
        }

        public void setUPDATED(String UPDATED) {
            this.UPDATED = UPDATED;
        }

        public String getUPDATEDBY() {
            return UPDATEDBY == null ? "" : UPDATEDBY;
        }

        public void setUPDATEDBY(String UPDATEDBY) {
            this.UPDATEDBY = UPDATEDBY;
        }

        public String getISAVAILABLE() {
            return ISAVAILABLE == null ? "" : ISAVAILABLE;
        }

        public void setISAVAILABLE(String ISAVAILABLE) {
            this.ISAVAILABLE = ISAVAILABLE;
        }

        public String getISBATCHLOTSIZECONTROL() {
            return ISBATCHLOTSIZECONTROL == null ? "" : ISBATCHLOTSIZECONTROL;
        }

        public void setISBATCHLOTSIZECONTROL(String ISBATCHLOTSIZECONTROL) {
            this.ISBATCHLOTSIZECONTROL = ISBATCHLOTSIZECONTROL;
        }
    }

    public static class TestEqpEntity implements Serializable{
        private String EQUIPMENTID;
        private int STYLE;
        private String GRADINGMARKER;
        private String SITENO;

        public String getGRADINGMARKER() {
            return GRADINGMARKER == null ? "" : GRADINGMARKER;
        }

        public void setGRADINGMARKER(String GRADINGMARKER) {
            this.GRADINGMARKER = GRADINGMARKER;
        }

        public String getSITENO() {
            return SITENO == null ? "" : SITENO;
        }

        public void setSITENO(String SITENO) {
            this.SITENO = SITENO;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public int getSTYLE() {
            return STYLE;
        }

        public void setSTYLE(int STYLE) {
            this.STYLE = STYLE;
        }
    }
}
